home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 2001 May / SGI Freeware 2001 May - Disc 1.iso / dist / fw_teTeX.idb / usr / freeware / share / texmf / dvips / config / config.ps.z / config.ps
Text File  |  2001-01-10  |  2KB  |  92 lines

  1. % teTeX's config.ps. Thomas Esser, 1998, public domain.
  2.  
  3. % Memory available. Download the three-line PostScript file:
  4. %   %! Hey, we're PostScript
  5. %   /Times-Roman findfont 30 scalefont setfont 144 432 moveto
  6. %   vmstatus exch sub 40 string cvs show pop showpage
  7. % to determine this number. (It will be the only thing printed.)
  8. m 3500000
  9.  
  10. % How to print, maybe with lp instead lpr, etc. If commented-out, output
  11. % will go into a file by default.
  12. o |lpr
  13.  
  14. % Default resolution of this device, in dots per inch.
  15. D 600
  16. X 600
  17. Y 600
  18.  
  19. % Metafont mode.  (This is completely different from the -M command-line
  20. % option, which controls whether MakeTeXPK is invoked.)  Get
  21. % @url{ftp://ftp.tug.org/tex/modes.mf} for a list of mode names.  This mode
  22. % and the D number above must agree, or MakeTeXPK will get confused.
  23. M ljfour
  24.  
  25. % Also look for this list of resolutions.
  26. R 300 600
  27.  
  28. % Correct printer offset. You can use testpage.tex from the LaTeX
  29. % distribution to find these numbers.
  30. O 0pt,0pt
  31.  
  32. % With a high resolution and a RISC cpu, better to compress the bitmaps.
  33. % PS files are much more compact, but can sometimes cause trouble.
  34. Z
  35.  
  36. % Partially download Type 1 fonts by default.  Only reason not to do
  37. % this is if you encounter bugs.  (Please report them to
  38. % @email{tex-k@@mail.tug.org} if you do.)
  39. j
  40.  
  41. % Configuration of postscript type 1 fonts:
  42. p psfonts.map
  43.  
  44. % This shows how to add your own map file.
  45. % Remove the comment and adjust the name:
  46. % p +myfonts.map
  47.  
  48. @ A4size 210mm 297mm
  49. @+ %%PaperSize: A4
  50.  
  51. @ letterSize 8.5in 11in
  52.  
  53. @ letter 8.5in 11in
  54. @+ %%BeginPaperSize: Letter
  55. @+ letter
  56. @+ %%EndPaperSize
  57.  
  58. @ legal 8.5in 14in
  59. @+ ! %%DocumentPaperSizes: Legal
  60. @+ %%BeginPaperSize: Legal
  61. @+ legal
  62. @+ %%EndPaperSize
  63.  
  64. @ ledger 17in 11in
  65. @+ ! %%DocumentPaperSizes: Ledger
  66. @+ %%BeginPaperSize: Ledger
  67. @+ ledger
  68. @+ %%EndPaperSize
  69.  
  70. @ tabloid 11in 17in
  71. @+ ! %%DocumentPaperSizes: Tabloid
  72. @+ %%BeginPaperSize: Tabloid
  73. @+ 11x17
  74. @+ %%EndPaperSize
  75.  
  76. @ a4 210mm 297mm
  77. @+ ! %%DocumentPaperSizes: a4
  78. @+ %%BeginPaperSize: a4
  79. @+ a4
  80. @+ %%EndPaperSize
  81.  
  82. @ a3 297mm 420mm
  83. @+ ! %%DocumentPaperSizes: a3
  84. @+ %%BeginPaperSize: a3
  85. @+ a3
  86. @+ %%EndPaperSize
  87.  
  88. @ unknown 0in 0in
  89. @+ statusdict /setpageparams known { hsize vsize 0 1 statusdict begin {
  90. @+ setpageparams } stopped end } { true } ifelse { statusdict /setpage known
  91. @+ { hsize vsize 1 statusdict begin { setpage } stopped pop end } if } if
  92.